﻿using System;
using System.Collections.Generic;

namespace Orid.Management.Statistics.Tools.Decomposition.Logic
{
    public  class SearchDecompositionConditions
    {
        private static  SearchDecompositionConditions searchDecompositionConditions;
        private SearchDecompositionConditions()
        { }

        public static SearchDecompositionConditions GetInstance()
        {
            if (searchDecompositionConditions == null)
            {
                searchDecompositionConditions = new SearchDecompositionConditions();

            }
            return searchDecompositionConditions;

        }


        private DateTimeOffset? starDateTime, finishDateTime;

        public DateTimeOffset? FinishDateTime
        {
            get { return finishDateTime; }
            set { finishDateTime = value; }
        }

        public DateTimeOffset? StarDateTime
        {
            get { return starDateTime; }
            set { starDateTime = value; }
        }

        bool isAllOrders;

        public bool IsAllOrders
        {
            get { return isAllOrders; }
            set { isAllOrders = value; }
        }

        public List<Guid> Orders { get; set; }
    }
}
